menuMouseButton
Type
property
Summary
Specifies which mouse button can be used to access the menu associated with a button.
Syntax
set the menuMouseButton of <button> to {zero | <pButtonNumber>}
Description
Use the menuMouseButton property to limit a menu so it can only be accessed with a specific mouse button.
If the menuMouseButton is zero, any mouse button can be used to open the menu. If the menuMouseButton is a number from 1 to 3, only that mouse button opens the menu.
Parameters
Name | Type | Description |
---|---|---|
pButtonNumber | enum | The pButtonNumber parameter specifies which mouse button was pressed:
|
Examples
set the menuMouseButton to 3
Related
function: menuButton
glossary: mouse button, property
keyword: integer, menu, button
object: button
property: menuName
command: pulldown
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop
server